package com.gpj.sgz.init.base;

import com.gpj.sgz.system.BattleGround;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * @className Skill
 * @description TODO
 * @author GPJ
 * @date 2020/9/27 16:53
 * @version 1.0
 **/
@Getter
@Setter
@AllArgsConstructor
public abstract class Skill {
    private String name; // 技能名称
    private Integer rate; // 发动几率
    private String type; // 类型

    abstract public void handle(General sourceGeneral, General targetGeneral, BattleGround ground);
}